package net.cloudsun.tree.random;

import net.cloudsun.tree.binary.BinaryNode;
import net.cloudsun.tree.binary.BinaryTree;

/**
 * @author Ryan
 * @since
 */
public class RandomBinaryTree<T> extends BinaryTree<T> {

    @Override
    protected BinaryNode<T> createNode(T t) {
        return new RandomNode<>(t);
    }

    @Override
    public void delete(T o) {
        throw new UnsupportedOperationException();
    }
}
